package com.wx.tgp.designpattern.StrategyPattern.CalculatorPrice;

/**
 * 客户端
 */
public class Client {

    public static void main(String args[]){
        MemberStrategy memberStrategy = new AdvancedMemberStrategy();

        Price price = new Price(memberStrategy);

        double bookPrice = price.qoute(300);

        System.out.println("图书的价格:" + bookPrice);
    }
}
